<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">
<body>
<f:view>
<ui:composition template="WEB-INF/layout/templatePage.xhtml" >      

<ui:define name="title">
</ui:define>   

<ui:define name="content">
	<h:outputLabel id="infoLabel" value="Овде можете подесити детаље вашег профила"/>
	<h:outputLabel id="chgPass">Промена лозинке</h:outputLabel>
	<h:panelGrid columns="2">
		<h:outputLabel>Стара лозинка</h:outputLabel>
		<h:inputSecret value="#{userBean.newPass}" />
		<h:outputLabel>Нова лозинка</h:outputLabel>
		<h:inputSecret value="#{userBean.newChangingPass}" />	
		<h:outputLabel value="#{userBean.changingPassMsg}" />
		<h:commandButton value="Промени" action="#{userBean.changePassword}" />
	</h:panelGrid>
</ui:define>
</ui:composition>
</f:view>
</body>
</html>